<template>
    <div>
        <div class="common-layout">
            <el-container style="height: 100vh;">
                <SideMenu></SideMenu>
                <el-container direction="vertical">
                    <TopHeader></TopHeader>
                    <el-main>
                        <el-scrollbar> <!-- el-scrollbar滚动条 -->
                            <router-view></router-view>
                        </el-scrollbar>
                    </el-main>
                </el-container>
            </el-container>
        </div>
    </div>
</template>

<script setup>
import SideMenu from '../components/mainbox/SideMenu.vue';
import TopHeader from '../components/mainbox/TopHeader.vue';



</script>